package com.dz.message.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dz.common.entity.IdEntity;

import java.io.Serializable;

/**
 * <p>
 * 短信发送记录表
 * </p>
 *
 * @author star
 * @since 2017-07-01
 */
@TableName("t_message")
public class Message implements Serializable,IdEntity {

    private static final long serialVersionUID = 1L;

    @TableId("fid")
    private Long id;
    /**
     * 手机号
     */
	@TableField("fmobile")
	private String mobile;
    /**
     * 短信内容
     */
	@TableField("fmsg")
	private String msg;
    /**
     * 短信发送状态
     */
	@TableField("fstatus")
	private String status;
    /**
     * 短信类型:0：文字短信、1：语言短信 
     */
	@TableField("ftype")
	private Integer type;
    /**
     * 短信发送时间
     */
	@TableField("fsendDate")
	private Date sendDate;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

}
